<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>Dart : Libraries : box2d : Island</title>
</head>

<body>

<header></header>

<h1 id="title">class <a name='Island::Island'>Island</a></h1>

<section id="inheritance">

<section class="supertype">
<h2>Supertype:</h2>
<ul><li>Object</li></ul>
</section>

</section>

<section id="summary">

 Island represents a grouping of objects to apply DFS solving
 for movement and collisions.
</section>

<section id="fields">
<h2>Fields</h2>
<dl>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='Island::bodies'>bodies
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::bodyCapacity'>bodyCapacity
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::bodyCount'>bodyCount
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::contactCapacity'>contactCapacity
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::contactCount'>contactCount
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='Island::contacts'>contacts
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='ContactImpulse.html#ContactImpulse::ContactImpulse'>ContactImpulse</a></code></code></span>
<span class="field-name"><code><a name='Island::impulse'>impulse
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::jointCapacity'>jointCapacity
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::jointCount'>jointCount
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='Island::joints'>joints
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='ContactListener.html#ContactListener::ContactListener'>ContactListener</a></code></code></span>
<span class="field-name"><code><a name='Island::listener'>listener
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='int.html#int::int'>int</a></code></code></span>
<span class="field-name"><code><a name='Island::positionIterationCount'>positionIterationCount
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='Island::positions'>positions
</a></code></span>
</dt>
<dd>
</dd>
<dt>
<span class="field-type"><code><code><a href='List.html#List::List'>List&lt;E&gt;</a></code></code></span>
<span class="field-name"><code><a name='Island::velocities'>velocities
</a></code></span>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="constructors">
<h2>Constructors</h2>
<dl>
<dt>
<code><a href='Island.html#Island::Island'>Island</a>()</code>
</dt>
<dd>
</dd>
</dl>
</section>

<section id="methods">
<h2>Methods</h2>
<dl>
<dt>
<code>void <a name='Island::addBody'>addBody</a>(<code><a href='Body.html#Body::Body'>Body</a></code> <a name='Island::addBody::body'>body</a>)</code></dt>
<dd>
 Adds a body to the Island. </dd>
<dt>
<code>void <a name='Island::addContact'>addContact</a>(<code><a href='Contact.html#Contact::Contact'>Contact</a></code> <a name='Island::addContact::contact'>contact</a>)</code></dt>
<dd>
 Add a contact to the Island. </dd>
<dt>
<code>void <a name='Island::addJoint'>addJoint</a>(<code><a href='Joint.html#Joint::Joint'>Joint</a></code> <a name='Island::addJoint::joint'>joint</a>)</code></dt>
<dd>
 Add a joint to the Island. </dd>
<dt>
<code>void <a name='Island::clear'>clear</a>()</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='Island::init'>init</a>(<code><a href='int.html#int::int'>int</a></code> <a name='Island::init::argBodyCapacity'>argBodyCapacity</a>, <code><a href='int.html#int::int'>int</a></code> <a name='Island::init::argContactCapacity'>argContactCapacity</a>, <code><a href='int.html#int::int'>int</a></code> <a name='Island::init::argJointCapacity'>argJointCapacity</a>, <code><a href='ContactListener.html#ContactListener::ContactListener'>ContactListener</a></code> <a name='Island::init::argListener'>argListener</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='Island::report'>report</a>(<code><a href='List.html#List::List'>List&lt;E&gt;</a></code> <a name='Island::report::constraints'>constraints</a>)</code></dt>
<dd>
</dd>
<dt>
<code>void <a name='Island::solve'>solve</a>(<code><a href='TimeStep.html#TimeStep::TimeStep'>TimeStep</a></code> <a name='Island::solve::step'>step</a>, <code><a href='Vector.html#Vector::Vector'>Vector</a></code> <a name='Island::solve::gravity'>gravity</a>, <code><a href='bool.html#bool::bool'>bool</a></code> <a name='Island::solve::allowSleep'>allowSleep</a>)</code></dt>
<dd>
</dd>
</dl>
</section>

<footer></footer>

</body></html>
